<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            list-style: none;
            text-wrap: nowrap;        
            /* display: flex; */
            overflow: auto;
            flex-direction: column;
            /* flex-wrap: nowrap; */
            width: 400px;
            height: 600px;
            white-space: nowrap;
        }
        li{
            width: 400px;
            overflow: hidden;                                          
            text-overflow: ellipsis;
            height: 400px;
            background-color: antiquewhite;
            margin: 10px 10px;
            /* flex: 1 1 auto; */
        }
        @media(max-width:1200px){
            li{
                background-color: blue;
            }
        }
        ::-webkit-scrollbar{
            display: none;
        }
    </style>
</head>
<body>
    <ul>
        <li>的撒加快了大家阿斯利康大家阿拉山口大家爱心卡了解到开始了就打开拉萨角动量喀什</li>
        <li><s>宋嘉乐   </s></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</body>
</html>